import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {
  GreatDirectiveModule,
  GreatLayoutModule,
  GreatMenuModule,
  GreatValidateModule
} from 'great-ngform';
import {HttpClientModule} from '@angular/common/http';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';

const MODULES = [
  HttpClientModule,
  FormsModule,
  ReactiveFormsModule,
  GreatValidateModule,
  GreatLayoutModule,
  GreatMenuModule,
  GreatDirectiveModule,
];

@NgModule({
  declarations: [],
  imports: [
    CommonModule,
    ...MODULES
  ],
  exports: [
    ...MODULES
  ],
})
export class ShareModule {
}
